package com.crm.dao.mapper.customMapper.userForumCustomManager;

import com.crm.model.qo.userForumManager.UserForumQO;
import com.crm.model.vo.userForumManager.UserForumInfoVO;
import com.crm.model.vo.userForumManager.UserForumVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:chaifuyou
 * @Date: 2021/5/24 9:46
 */
public interface UserForumCustomMapper {

    /**
     * 查询分页信息
     * @param userForumQO
     * @param order
     * @return
     */
    List<UserForumVO> selectUserForumListPage(@Param("qo") UserForumQO userForumQO,@Param("order") String order);

    /**
     * 获取用户的论坛信息
     * @param accountId
     * @return
     */
    UserForumInfoVO selectLoginUserForumInfo(@Param("accountId") String accountId);

    /**
     * 删除论坛
     * @param userForumId
     * @return
     */
    Integer delUserForum(@Param("userForumId") String userForumId);
}
